﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopTaobaokeItemDetail : BaseObject
    {
        //begin
        public TopTaobaokeItemDetail(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private TopItem _Item;
        public TopItem Item
        {
            get
            {
                return _Item;
            }
            set
            {
                SetPropertyValue("Item", ref _Item, value);
            }
        }
        private string _ClickUrl;
        [Size(SizeAttribute.Unlimited)]
        public string ClickUrl
        {
            get
            {
                return _ClickUrl;
            }
            set
            {
                SetPropertyValue("ClickUrl", ref _ClickUrl, value);
            }
        }
        private string _ShopClickUrl;
        [Size(SizeAttribute.Unlimited)]
        public string ShopClickUrl
        {
            get
            {
                return _ShopClickUrl;
            }
            set
            {
                SetPropertyValue("ShopClickUrl", ref _ShopClickUrl, value);
            }
        }
        private long _SellerCreditScore;
        public long SellerCreditScore
        {
            get
            {
                return _SellerCreditScore;
            }
            set
            {
                SetPropertyValue("SellerCreditScore", ref _SellerCreditScore, value);
            }
        }
        //end
    }
}
